package com.leyou.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.auth.dto.UserDetail;
import com.leyou.user.dto.UserDTO;
import com.leyou.user.entity.User;

/**
 * @author YYP
 * @date 2021/1/9
 */
public interface UserService extends IService<User> {
    void registerUser(User user, String code);

    UserDTO queryUser(String username, String password);

    Boolean isExistsData(String data, Integer type);

    void sendVerifyCode(String phone);

//    UserDetail showUser(String token);
}
